package yt.demo.appcoresystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import yt.demo.appcommondb.base.BaseEntity;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "SystemUserRole", description = "用户与角色关联表")
public class SystemUserRole extends BaseEntity<SystemUserRole> {

    @TableField(exist = false)
    private Date createTime;

    @TableField(exist = false)
    private Date updateTime;

    @TableField(exist = false)
    private Date deletedAt;


    private Long userId;
    private Long roleId;
}
